<%@ page contentType="text/html;charset=UTF-8" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
    <title>欢迎页面</title>
</head>
<body>
<h1>登录成功，欢迎您 ${ressionScope.user.username}</h1>
<h1>${requestScope.msg}</h1>
<hr/>
<c:forEach items="${requestScope.fileNames}" var="file">
    <a href="${pageContext.request.contextPath}/upload/${file}">${file}</a>&nbsp;&nbsp;
    <a href="${pageContext.request.contextPath}/download?filename=${file}">下载</a>;
    <br />
</c:forEach>
</body>
</html>
